package com.mjf.web.controller.common;

import com.mjf.srm.service.SrmpurFindService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/6/29 02:06
 */
@RestController
@RequestMapping("/srm/async")
public class SRMAsyncController {

    @Autowired
    private SrmpurFindService srmpurFindService;

    /**
     * 采购订单同步
     */
    @RequestMapping("/cgdd")
    public void asyncPurchaseOrder() {
        srmpurFindService.asyncCGDD();
    }

}
